package RandomClass;

import java.util.Random;

public class Test01 {
    public static void main(String[] args) {
        //随机值
        Random a=new Random();
        System.out.println(a.nextInt(100));
        System.out.println(a.nextDouble());
        System.out.println(a.nextFloat());
        System.out.println(a.nextLong());
        a.setSeed(100);
    }
}
